import pandas as pd
from coommon import numerical_diff as nd
def f(x):
    return 0.01*x**2 + 0.1*x



def numerical_diff(f, x):
    y = f
    k = nd(y,x)
    b = f(x)-k*x
    return lambda x: b+k*x

ta = numerical_diff(f, 5)

print(ta(5))